package com.ruoyi.familyUserManagement.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 家庭成员中间表管理对象 doc_family_user
 * 
 * @author ruoyi
 * @date 2025-08-14
 */
public class DocFamilyUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 家庭成员id */
    @Excel(name = "家庭成员id")
    private Long familyUserId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 家庭组id */
    @Excel(name = "家庭组id")
    private Long familyId;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String userName;

    public void setFamilyUserId(Long familyUserId) 
    {
        this.familyUserId = familyUserId;
    }

    public Long getFamilyUserId() 
    {
        return familyUserId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setFamilyId(Long familyId) 
    {
        this.familyId = familyId;
    }

    public Long getFamilyId() 
    {
        return familyId;
    }

    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("familyUserId", getFamilyUserId())
            .append("userId", getUserId())
            .append("familyId", getFamilyId())
            .append("userName", getUserName())
            .toString();
    }
}
